package com.sskj.xgja;

import android.graphics.drawable.Drawable;
import android.widget.TextView;

import com.scwang.smartrefresh.layout.SmartRefreshLayout;

public interface BaseView {

    int color(int id);

    Drawable drawable(int id);

    void initRefreshLayout(SmartRefreshLayout refreshLayout, boolean isFooter);

    void initRefreshLayout(SmartRefreshLayout refreshLayout);

    void setText(TextView textView, String text);

    void showLoading();

    void hideLoading();
}
